const ProjectRequest = require("../project/project_request.js");

function get(callback) {
  const url = "/prize/nine/get";
  ProjectRequest.getRequest(url, callback);
}

function request(data, callback) {
  const url = "/prize/nine/request";
  ProjectRequest.postRequest(url, { prizeId: data.prizeId}, callback);
}

module.exports = {
  get, request
};